﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Aquiles
{
    public partial class FrmSplahScreen : Form
    {
        public FrmSplahScreen()
        {
            InitializeComponent();

            string cidadePadrao = "Jaboticabal/SP: "; // Por enquanto esta fixo
            string mesExtenso = new CultureInfo("pt-BR").DateTimeFormat.GetMonthName(DateTime.Now.Month);
            string diaExtenso = new CultureInfo("pt-BR").DateTimeFormat.GetDayName(DateTime.Now.DayOfWeek);

            string dia = String.Format("{0} dia {1} de {2} de {3} {4}, ", cidadePadrao, DateTime.Now.Day.ToString(), mesExtenso, DateTime.Now.Year.ToString(), diaExtenso);

            label3.Text = dia;
        }
    }
}
